gdkwindow-x11: Fix compile warning
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 31 Jan 2014 19:33:27 +0000 (14:33 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 31 Jan 2014 19:34:13 +0000 (14:34 -0500)
It doesn't actually matter, since we don't pass any real attributes
anyway, but this should be the correct type...

gdk/x11/gdkwindow-x11.c

index c8f04a6fa98c3c1d751f4631745f575b49da6647..3f213aa11c61b0e2c1585b49807262f10dab6596 100644 (file)
@@ -820,7 +820,7 @@ create_focus_window (GdkDisplay *display,
   GdkEventMask event_mask;
   Display *xdisplay;
   Window focus_window;
-  XWindowAttributes xwa;
+  XSetWindowAttributes attrs;
 
   xdisplay = GDK_DISPLAY_XDISPLAY (display);
   display_x11 = GDK_X11_DISPLAY (display);
@@ -830,7 +830,7 @@ create_focus_window (GdkDisplay *display,
                                 0, /* depth */
                                 InputOnly,
                                 CopyFromParent,
-                                0, &xwa);
+                                0, &attrs);
 
   event_mask = (GDK_KEY_PRESS_MASK |
                 GDK_KEY_RELEASE_MASK |